using System.Configuration;

namespace OrbitOne.MailChimp
{
    internal class ColumnCollection : ConfigurationElementCollection
    {
        protected override ConfigurationElement CreateNewElement()
        {
            return new Column();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((Column)element).name;
        }
    }
}